# coding: utf-8
# setattr


class Goods(object):

	discount = 0.8

	def __init__(self, name, price):
		self.name = name
		self.price = price

	@property
	def getPrice(self):
		return self.price * self.discount

	@getPrice.setter
	def getPrice(self, newPrice):
		self.price = newPrice


app = Goods("apple")
	